xm-test: Adapt memory setting to up-to-date kernel memory consumption
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 5 Aug 2009 12:37:26 +0000 (13:37 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 5 Aug 2009 12:37:26 +0000 (13:37 +0100)
commitccb359dbfc5d53e1445b0f5ef3c4bb84f21151dc
tree96f375167a1013e4bf38e09af87bbd94797630de
parentf0e70fe5983ac7af78fe900f8b30bb2da49c57d4
xm-test: Adapt memory setting to up-to-date kernel memory consumption

The attached patch fixes xm-test memset 04 that it can be used with up
to date kernels.  The old version sets the memory to 15MByte which is
too low for modern kernels: the oom-killer in this case kills the
login shell of the test-case and init.  Increased the size to 18M
which gives the userspace about 2.5 MByte memory.

Signed-off-by: Andreas Florath <xen@flonatel.org>
tools/xm-test/tests/memset/04_memset_smallmem_pos.py